package com.accp.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import com.accp.response.ResultResponse;
import com.accp.service.ITzShopDetailService;
import com.accp.util.ResultVOUtil;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 辉
 * @since 2019-12-26
 */
@RestController
@RequestMapping("/accp/tzShopDetail")
public class TzShopDetailController {

	@Autowired
	ITzShopDetailService iTzShopDetailService;
	
	@GetMapping("/getByShopDetail")
	public ResultResponse getByShopDetail(Integer id) {
		
		return ResultVOUtil.success(iTzShopDetailService.getById(id));
	}
	
}

